package com.baosight.risk.common.annotation;

import com.baosight.risk.common.enums.BusinessType;
import com.baosight.risk.common.enums.IntegralType;

import java.lang.annotation.*;


/**
 * @author duanyongqiang
 * @date 2019.3.22
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Log {
    /**
     * 模块
     */
    String title() default "";

    /**
     * 功能
     */
    BusinessType businessType() default BusinessType.OTHER;

    /**
     * 积分功能
     */
    IntegralType integralType() default IntegralType.Type0;

    /**
     * 是否保存请求的参数
     */
    boolean isSaveRequestData() default true;


}
